package com.vhuomai.product.mapper;

import com.vhuomai.mybatis.mapper.auto.AutoMapper;
import com.vhuomai.mybatis.mapper.concurrent.MapperFuture;
import com.vhuomai.product.entity.BaseSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author harris
 */
@Mapper
public interface SkuMapper extends AutoMapper<BaseSku, Integer> {
    
    MapperFuture<List<BaseSku>> findByProductIdAsync(@Param("productId") int productId);
}
